package com.thd.springboottest.mybatis.dao;

import com.thd.springboottest.mybatis.entity.MyUser;
import com.thd.springboottest.mybatis.entity.SpecialType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * com.thd.springboottest.mybatis.dao.SpecialTypeMapper
 *
 * @author: wanglei62
 * @DATE: 2022/7/26 10:42
 **/
@Mapper
@Repository
public interface SpecialTypeMapper {
    //插入用户
    public int save(SpecialType data);
    //更新用户
    public int update(SpecialType data);
    //根据id查询
    public SpecialType queryById(String id);
    //通用查询
    public List<SpecialType> queryList(SpecialType date);

}
